package com.jrzh.db.migration.sys;

import com.jrzh.framework.migration.BaseMigration;
import com.jrzh.framework.migration.MigrationHelper;
/**
 * 资源表增加树形扩展字段
 * @author LinHuafeng
 *
 */
public class Migration_14 extends BaseMigration{
	
	private static final String TABLE_NAME = "sys_resources";
	
	@Override
	public void down() {
		log.info("##########回滚Sys模块 Migration_14##########");
		MigrationHelper.dropTreeColumns(TABLE_NAME);
	}

	@Override
	public void up() {
		log.info("##########执行Sys模块 Migration_14##########Begin");
		MigrationHelper.addTreeColumns(TABLE_NAME);
		log.info("##########执行Sys模块 Migration_14##########End");
	}

}
